package com.zhangyang.netty.register;

import java.io.Serializable;

/**
 * Created by ASUS on 2017/9/24.
 */
public class InvokerMsg implements Serializable{
    String className;//服务的名称
    String methodName;//方法的名称
    Class params[];//参数类型 数组
    Object[] values;//参数的值 的数组

    public InvokerMsg() {
    }

    public InvokerMsg(String className, String methodName, Class[] params, Object[] values) {
        this.className = className;
        this.methodName = methodName;
        this.params = params;
        this.values = values;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Class[] getParams() {
        return params;
    }

    public void setParams(Class[] params) {
        this.params = params;
    }

    public Object[] getValues() {
        return values;
    }

    public void setValues(Object[] values) {
        this.values = values;
    }
}
